
import React from "react"
import Header from "../../components/header"
import Nav from "../../components/nav"
import Main from "../../components/main"
import { Layout } from 'antd';

const { Sider } = Layout;
class Home extends React.Component{
  render(){
    return(
      <React.Fragment>
        <Sider
      style={{
        overflow: 'auto',
        height: '100vh',
        position: 'fixed',
        left: 0,
      }}
    >
      <div className="logo" />
     <Nav></Nav>
    </Sider>
    <Layout className="site-layout" style={{ marginLeft: 200 }}>
      
      <Header className="site-layout-background" style={{ padding: 0 }} />
      <Main></Main>
      
    </Layout>
      </React.Fragment>
      
    )
  }
}

export default Home